Skip to content

Conversation

@ronaldtse
Copy link

Originally from @niloufar at masamitsu-murase#28

Windows 版の Ruby 2.6 で 7z.dll が読み込めなかった問題の修正です。 Dll Preloading Attacks への対応も含みます。

gem install seven_zip_ruby_am でインストールしたソースを変更し、簡単に動作を確認しました。使用した Ruby は RubyInstaller 版の ruby 2.6.5p114 (2019-10-01 revision 67812) [x64-mingw32] です。

DLL プリロード攻撃を防止するためのライブラリの安全な読み込み https://support.microsoft.com/ja-jp/help/2389418/secure-loading-of-libraries-to-prevent-dll-preloading-attacks

English:

Fixed the problem that 7z.dll could not be loaded in Ruby 2.6 for Windows. Also includes support for Dll Preloading Attacks.

I changed the source installed by gem install seven_zip_ruby_am and easily confirmed the operation. Ruby used is RubyInstaller version ruby 2.6.5p114 (2019-10-01 revision 67812) [x64-mingw32].

Secure loading of libraries to prevent DLL preloading attacks https://support.microsoft.com/en-us/help/2389418/secure-loading-of-libraries-to-prevent-dll-preloading-attacks

@maxirmx maxirmx merged commit 6d59e9a into fontist:niloufar-fix-dll-path Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants